#include <QCoreApplication>
#include"head.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    arraylist al;
    al.showlist();
    cout<<endl<<"input number to delete:";
    int nodeToDelete;
    cin>>nodeToDelete;
    al.deletenode(nodeToDelete);
    al.showlist();
    cout<<endl;

    return a.exec();
}
